package com.ruoyi.myblog.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 博客管理对象 myblog_articles
 * 
 * @author wujiale
 * @date 2025-03-13
 */
public class MyblogArticles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summary;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 备用1 */
    @Excel(name = "备用1")
    private String reservedColumn1;

    /** 2 */
    @Excel(name = "2")
    private String reservedColumn2;

    /** 3 */
    @Excel(name = "3")
    private String reservedColumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setReservedColumn1(String reservedColumn1) 
    {
        this.reservedColumn1 = reservedColumn1;
    }

    public String getReservedColumn1() 
    {
        return reservedColumn1;
    }
    public void setReservedColumn2(String reservedColumn2) 
    {
        this.reservedColumn2 = reservedColumn2;
    }

    public String getReservedColumn2() 
    {
        return reservedColumn2;
    }
    public void setReservedColumn3(String reservedColumn3) 
    {
        this.reservedColumn3 = reservedColumn3;
    }

    public String getReservedColumn3() 
    {
        return reservedColumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("summary", getSummary())
            .append("date", getDate())
            .append("content", getContent())
            .append("reservedColumn1", getReservedColumn1())
            .append("reservedColumn2", getReservedColumn2())
            .append("reservedColumn3", getReservedColumn3())
            .toString();
    }
}
